//
//  MessageStatus.h
//  MooreDoll
//
//  Created by 郭景豪 on 2014/12/31.
//  Copyright (c) 2014年 Tank. All rights reserved.
//

#import <Foundation/Foundation.h>

@class MessageStatus;

@protocol CheckToyUpdateDelegate <NSObject>

-(void)getCheckToyUpdateInfo:(NSDictionary *) InfoResults;

@end

@protocol ToyUpdateMessageStatusDelegate <NSObject>

-(void)toyUpdateStatusStart:(NSString *)status;
-(void)toyUpdateStatusStarting:(NSString *)status;
-(void)toyUpdateStatusError:(NSString *)status;
-(void)toyUpdateStatusTimeOur:(NSString *)status;
-(void)toyUpdateStatusProgress:(NSString *)status total:(float)total received:(float)received;
-(void)toyUpdateStatusMD5Start:(NSString *)status;

-(void)toyUpdateStatusMD5Fail:(NSString *)status;
-(void)toyUpdateStatusMD5Finish:(NSString *)status;
-(void)toyUpdateFinishInfo:(NSDictionary *) InfoResults;

@end

@interface MessageStatus : NSObject

+(MessageStatus *)sharedInstance;

@property (nonatomic,weak)id<CheckToyUpdateDelegate>checkToyUpdateDelegate;
@property (nonatomic,weak)id<ToyUpdateMessageStatusDelegate>toyUpdateMessageStatusDelegate;

-(void)getMessageRecv:(id)data;

@end
